import org.apache.spark.{SparkConf, SparkContext}

object week2_1 {
  def main(args: Array[String]): Unit = {
    val sparkConf = new SparkConf().setMaster("local[*]").setAppName("app")
    val context = new SparkContext(sparkConf)

    context.setLogLevel("ERROR")

    context.textFile("data/chuan.txt")






    sparkConf.clone()
    context.stop()


  }
}